//
//  QLMInvoiceTopCell.m
//  Xiaomakuaixiu
//
//  Created by 邬俊涛 on 2018/3/10.
//  Copyright © 2018年 hwd. All rights reserved.
//

#import "QLMInvoiceTopCell.h"

@implementation QLMInvoiceTopCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

+ (instancetype)cellWithTableView:(UITableView *)tableView{
    static NSString *identifiew=@"QLMInvoiceTopCellId";
    QLMInvoiceTopCell *cell=[tableView dequeueReusableCellWithIdentifier:identifiew];
    if (cell==nil) {
        cell=[[[NSBundle mainBundle] loadNibNamed:@"QLMInvoiceTopCell" owner:nil options:nil] firstObject];
        
        UIView *lineView=[[UIView alloc] initWithFrame:CGRectMake(15, 40, kScreen_width-30, 1)];
        lineView.backgroundColor=[UIColor colorWithRed:0.94 green:0.94 blue:0.94 alpha:1.0];
        [cell addSubview:lineView];
    }
    return cell;
}

@end
